import request from '@/utils/request'

// 查询泪目value列表
export function listCollectProductCategoryValue(query) {
  return request({
    url: '/gather/gather/collectProductCategoryValue/list',
    method: 'get',
    params: query
  })
}

// 查询泪目value详细
export function getCollectProductCategoryValue(id) {
  return request({
    url: '/gather/gather/collectProductCategoryValue/' + id,
    method: 'get'
  })
}

// 新增泪目value
export function addCollectProductCategoryValue(data) {
  return request({
    url: '/gather/gather/collectProductCategoryValue',
    method: 'post',
    data: data
  })
}

// 修改泪目value
export function updateCollectProductCategoryValue(data) {
  return request({
    url: '/gather/gather/collectProductCategoryValue',
    method: 'put',
    data: data
  })
}

// 删除泪目value
export function delCollectProductCategoryValue(id) {
  return request({
    url: '/gather/gather/collectProductCategoryValue/' + id,
    method: 'delete'
  })
}
